import random
import unittest


def my_rand():  # 返回1-5的随机数
    return random.randint(10, 50)

class my_test(unittest.TestCase):
    def test_01(self):
        num1 = my_rand()
        self.assertIn(num1,[1,2,3,4,5])







